<?php
namespace adminmatrix\admin;
use adminmatrix\admin\annotation\{InteractsWithInject, InteractsWithLoggable, InteractsWithValidate};
use adminmatrix\admin\command\swoole\Start;

class Service extends \think\Service
{
    use InteractsWithInject , InteractsWithLoggable , InteractsWithValidate;
    public function boot(): void
    {
        $this->autoInject();
        // $this->autoLoggable();
        $this->autoValidate();
        $this->commands([
            Start::class
        ]);
    }


    public function register(): void
    {
//        parent::register(); // TODO: Change the autogenerated stub
    }
}